package com.ls.controller.user.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ls.utils.PagingQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
 * @ClassName QueryUserModel
 * @Description 查询用户列表model
 * @Author pengyu
 * @Date 2020/5/25 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class QueryUserModel extends PagingQuery {

    /**
     * 号码
     */
    private String phone;

    /**
     * 姓名
     */
    private String name;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 有效状态，0为无效（已注销），1为有效，默认1
     */
    private Integer validFlag;

    /**
     * 开始时间，选填
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String beginSt;

    /**
     * 结束时间，选填
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String endSt;



}
